package com.lx.pc.mybatis.repository.supplydemandimg;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.mybatis.repository.annotation.Query;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.lx.pc.domain.entity.supplydemandimg.SupplydemandimgEntity;

@Repository("supplydemandimgRepository")
public interface SupplydemandimgRepository extends MybatisRepository<SupplydemandimgEntity, BigInteger>{
	
	/**
	 * 查看图片
	 * @param id
	 * @return
	 */
	@Query("findBySupplydemandimg")
	public List<SupplydemandimgEntity> findBySupplydemandimg(SupplydemandimgEntity SupplydemandimgEntity);
	
	/**
	 * 删除
	 */
	@Query("deleteSupplydemandimg")
	public void deleteSupplydemandimg(BigInteger supplyDemandId);
	
	
}
